import {request} from "./index";

export function getsearchMultidata(keywords,type){
    return request({
        url:'/search',
        methods: 'get',
        params:{
            limit:20,
            keywords,
            type,
        }
    })
}

export function searchAPI(params){
    return request({
        url:"/cloudsearch",
        method:'get',
        params
    })      
}

export function hotSearchAPI(){
    return request({
        url:"/search/hot/detail",
        method:'get',
    })       
}